
package com.sikaryofficial.auth.form;

import javax.validation.constraints.Email;

/**
 * 用户注册对象
 * 
 * @author qinjinyuan
 */
public class ValidBody
{
    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }
    /**
     * 邮箱地址
     */
    @Email(regexp = "[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+", message = "email format error.")
    private String emailAddress;
}
